package models

import (
	"qld2devservice/utils"
	"time"
)

type QldExceptionRecord struct {
	Id         int `gorm:"primary_key"`
	Type       int64
	Title      string
	UserMobile string
	DeviceSn   string
	OrderSn    string
	Msg        string
	CreateTime time.Time
}

func InsertQldExceptionRecord(qldExceptionRecord QldExceptionRecord) (err error) {
	err = DB.Create(&qldExceptionRecord).Error
	if err != nil {
		utils.MyPrint(utils.PRINT_ERROR, err.Error())
	}
	return
}
